package com.xneure.database;

import javax.sql.DataSource;

public class DataSourceMsg{
	private String dsName;
	private DataSource ds;

	public DataSourceMsg(String dataSourceName){
		this.dsName = dataSourceName;
	}

	public DataSourceMsg(DataSource dataSource){
		this.ds = dataSource;
	}

	public String getDataSourceName(){
		return dsName;
	}

	public DataSource getDataSource(){
		return ds;
	}
}
